#include "Ettin.h"
#include <sstream>

class ExampleLayer : public Ettin::Layer
{
public:
	ExampleLayer()
		: Layer("Example")
	{
	}

	void OnUpdate() override
	{
		ET_CORE_INFO("ExampleLayer::Update");
	}

	void OnEvent(Ettin::Event& event) override
	{
		ET_TRACE("{0}", event.ToString());
	}
};

class Sandbox : public Ettin::Application
{
public:
	
	Sandbox()
	{
		PushLayer(new ExampleLayer);
	}
	~Sandbox()
	{
	}
private:

};

Ettin::Application* Ettin::CreateApplication() {
	return new Sandbox();
}
